const getters = {
  appGlobal: state => state.app.appGlobal,
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  msg: state => state.user.name,
  name: state => state.user.name,
  roleName: state => state.user.roleName,
  user:state => state.user,
  clinic: state => state.user.clinic,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  access_routes: state => state.permission.accessRouters,
  wxRouters: state => state.permission.wxRouters,
  doctorRouters: state => state.permission.doctorRouters,
  operatorRouters: state => state.permission.managementRouters,
  customRoutes: state => state.permission.customRoutes,
  settingRoutes: state => state.permission.settingRouters,
  errorLogs: state => state.errorLog.logs
}
export default getters
